<template>
  <div id="Settlement">
      <SettlementPc v-if="windowWidtn>1000"></SettlementPc>
      <SettlementMobile v-else></SettlementMobile>
  </div>
</template>
<script>
import SettlementPc from "@/components/SettlementPc";
import SettlementMobile from "@/components/SettlementMobile";
export default {
  name: "Settlement",
  components: { SettlementPc, SettlementMobile },
  data() {
    return {
      windowWidtn: 0
    };
  },
  created() {
    this.windowWidtn = parseInt(window.innerWidth);
  },
  mounted() {
    FastClick.attach(document.body);
  }
};
</script>
<style scoped>
.container-fluid {
  padding-top: 20px;
}
</style>

